
<!DOCTYPE HTML>
<html style="height: 100%;">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>教练|私教预约系统</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="description" content="" />
	<meta name="keywords" content="" />
	<meta name="author" content="yinqi" />
	<link rel="shortcut icon" type="image/x-icon" href="../favicon.ico" />
	<link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css" />
	<link rel="stylesheet" type="text/css" href="../css/style.min.css" />
</head>
<body>

<header  class="lyear-header text-center" style="height: 100%;">
	<div class="lyear-header-container">
		<h1 id="name" class="lyear-blogger pt-lg-4 mb-0"><a href="index.html"></a></h1>
		<nav class="navbar navbar-expand-lg">
			<a class="navbar-toggler" data-toggle="collapse" data-target="#navigation" aria-controls="navigation" aria-expanded="false" aria-label="Toggle navigation">
				<div>
					<div class="lyear-hamburger">
						<div class="hamburger-inner"></div>
					</div>
				</div>
			</a>

			<div id="navigation">
				<div class="profile-section pt-3 pt-lg-0">
					<img class="profile-image mb-3 rounded-circle mx-auto"  id="trainerImage" width="120" height="120" alt="照片显示失败" >
					<div class="lyear-sentence mb-3">&ensp;&ensp;&ensp; 生命不息，运动不止。努力授课，为全人类的健康事业而奋斗。&ensp;&ensp;&ensp;&ensp;</div>
					<div class="lyear-sentence mb-3" id="signature_info"></div>
					<hr>
				</div>

				<ul class="navbar-nav flex-column text-center">
					<li class="nav-item active">
						<a class="nav-link" href="trainerCourse.html" target="center">课程管理</a>
					</li>
					<li class="nav-item">
						<a class="nav-link" href="trainerStudent.html" target="center">学员查看</a>
					</li>
					<!--<li class="nav-item">
						<a class="nav-link" href="trainerMessageBoard.html" target="center">消息列表</a>
					</li>-->
					<li class="nav-item">
						<a class="nav-link" href="trainerInfoEdit.html" target="center">个人中心</a>
					</li>
				</ul>
			</div>
		</nav>
	</div>
</header>
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script type="text/javascript" src="../js/jquery.nicescroll.min.js"></script>
<script type="text/javascript" src="../js/bootstrap.min.js"></script>
<script type="text/javascript" src="../js/main.min.js"></script>

<script src="https://cdn.staticfile.org/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>

<script type="text/javascript">
	$(function() {
		let currentTrainerPhone = $.cookie("trainerphone");

		jQuery.post("/getTrainerInfoByPhone", {"trainerPhone": currentTrainerPhone}, function(rst) {
			//头像
			let imagePath = rst.trainerImage;
			$("#trainerImage").attr('src',imagePath);

		})
	});

</script>
</body>
</html>